package com.ncloud.workflow.business;

import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.alibaba.fastjson.JSONObject;
import com.ncloud.chnl.service.ChnlService;

@Service
public class TestService {
	@Reference
	private ChnlService chnlService;
	
	public JSONObject getChnl() {
		JSONObject json = new JSONObject();
		json.put("chnlId", 1);
		JSONObject result = chnlService.getChnl(json);
		return result;
	}
}
